Combining Funnels
نویسندگان
چکیده
A new twist on an old tale.. . Abstract We enhance the well established software combining synchronization technique for shared memory multiprocessors to create combining funnels. Previous software combining methods used a statically assigned tree whose depth was logarithmic in the total number of processors in the system. The new method allows to dynamically build combining trees with depth logarithmic in the actual number of processors accessing the data structure concurrently. The structure is comprised from a series of combining layers through which processor's requests are funneled. These layers use randomization instead of a rigid tree structure to allow processors to nd partners for combining. By using an adaptive scheme the funnel can change width and depth to accommodate diierent access frequencies without requiring global agreement as to its size. Rather, processors choose parameters of the protocol privately, making this scheme very simple to implement and tune. When we add an \elimination" mechanism to the funnel structure, the randomly constructed \tree" is transformed into a \forest" of disjoint (and on average shallower) trees of requests, thus enhancing the level of parallelism and decreasing latency. We present two new linearizable combining funnel based data structures: a fetch-and-add object and a stack. We study the performance of these structures by benchmarking them against the most eecient software implementations of fetch-and-add and stacks known to date, combining trees and elimination trees, on a simulated shared memory multiprocessor using Proteus. Our empirical data shows that combining funnel based fetch-and-add always outperforms combining trees and the performance margin increases considerably if the number of processors is unknown in advance or if load is less than maximal. Elimination trees, which are not linearizable, prove to be 10% faster than funnels under highest load, but as load drops combining funnels adapt their size, giving them a 34% lead in latency.
منابع مشابه
Combining Funnels: A Dynamic Approach to Software Combining
We enhance the well established software combining synchronization technique to create combining funnels Previous software combiningmethods used a statically assigned tree whose depth was logarithmic in the total number of processors in the system On shared memory multiprocessors the new method allows to dynamically build combining trees with depth logarithmic in the actual number of processors...
متن کاملAttaching lures to multiple-funnel traps targeting saproxylic beetles (Coleoptera) in pine stands: inside or outside funnels?
We conducted two field trapping experiments with multiple-funnel traps in 2008 and one experiment in 2010 to determine the effects of lure placement (inside or outside funnels) on catches of saproxylic species of beetles (Coleoptera). The experiments were conducted in southern pine (Pinus spp.) stands in central Georgia using combinations of ethanol, alpha-pinene, ipsenol, and ipsdienol lures. ...
متن کاملThe Multi-Funnel Structure of TSP Fitness Landscapes: A Visual Exploration
Abstract. We use the Local Optima Network model to study the structure of symmetric TSP fitness landscapes. The ‘big-valley’ hypothesis holds that for TSP and other combinatorial problems, local optima are not randomly distributed, instead they tend to be clustered around the global optimum. However, a recent study has observed that, for solutions close in evaluation to the global optimum, this...
متن کاملIon impacts on graphene/Ir(111): interface channeling, vacancy funnels, and a nanomesh.
By combining ion beam experiments and atomistic simulations we study the production of defects in graphene on Ir(111) under grazing incidence of low energy Xe ions. We demonstrate that the ions are channeled in between graphene and the substrate, giving rise to chains of vacancy clusters with their edges bending down toward the substrate. These clusters self-organize to a graphene nanomesh via ...
متن کاملFunnel hopping: Searching the cluster potential energy surface over the funnels.
We designed a cluster surface smoothing method that can fast locate the minimum of the funnels in the potential energy surface (PES). By inserting the cluster surface smoothing approach into the gradient-based local optimization (LO)-phase and the global optimization (GO)-phase as a second LO-phase, the GO-phase can focus on the global information oWalesf the PES over the various funnels. Follo...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1998